package com.example.lamdba;

import com.example.Employee;
import com.example.lamdba.MyPrediccate;

public class FilterEmployeeBySalary implements MyPrediccate<Employee> {
    @Override
    public boolean test(Employee employee) {
        return employee.getSalary() > 5000;
    }
}
